
#include "cocos2d.h"
using namespace std;
USING_NS_CC;

class  ZipArchive
{
public:
	ZipArchive();
	~ZipArchive();

	void startDecompression(const std::string &zip);

	bool decompress();
	int getCurProgress();
	int m_curProgress;
	string m_zipName;
	bool m_isStart;
private:
	mutex				m_mutex;
	std::string basename(const std::string& path) const;
	FileUtils *_fileUtils;
};

